
//
// login view controller
//
@interface LoginViewController : UITableViewController<UITextFieldDelegate>

//
// login callback
//
typedef void (^LoginCommitCallback)(NSString* userName, NSString* password, NSString* captcha, NSString* sessionId);

//
// captcha data
//
@property(strong, nonatomic, readwrite) NSData*								captchaImageData;

//
// php session id
//
@property(strong, nonatomic, readwrite) NSString*							sessionId;

//
// user name
//
@property(strong, nonatomic, readwrite) NSString*							userName;

//
// password
//
@property(strong, nonatomic, readwrite) NSString*							password;

//
// captcha
//
@property(strong, nonatomic, readwrite) NSString*							captcha;

//
// callback
//
@property(copy, nonatomic, readwrite) LoginCommitCallback					callback;

@end
